<%@page contentType="text/html; charset=utf-8"%>
<script type="text/javascript">
	$(function() {
		//console.info($menu_window.window("options"));
		//console.info($($menu_window).panel({"title": "ccc"}));
		//console.info($menu_window.panel('move', {left: 10, top: 10}).panel('resize'))
	});
	
	function submitForm() {
		//console.info($obj.reload());
		//$('#form').form('submit');
		var val = $('#form').form('validate');
		console.info("提交" + val);
	}
</script>

<div class="easyui-panel form-panel" data-options="border: false, fit: true">
	<form id="form" method="post" style="text-align: center;">
		<div style="margin-bottom:10px">
			菜单名称：<input class="easyui-validatebox tb" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true">&nbsp;&nbsp;
			菜单名称：<input class="easyui-validatebox tb" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true">
		</div>
		<div style="margin-bottom:10px">
			菜单名称：<input class="easyui-textbox" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true">&nbsp;&nbsp;
			菜单名称：<input class="easyui-textbox" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true">
		</div>
		<div style="margin-bottom:10px">
			菜单名称：<input class="easyui-textbox" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true">&nbsp;&nbsp;
			菜单名称：<select class="easyui-combobox" name="state" style="width:180px;" data-options="required:true, panelMinHeight: 100, panelMaxHeight:200, editable: false, panelHeight:'auto', icons:[{iconCls:'icon-clear', handler: function(e){ $(e.data.target).combobox('clear'); }}]">
		                <option value="AL">Alabama</option>
		                <option value="AK">Alaska</option>
		                <option value="CT">Connecticut</option>
		                <option value="DE">Delaware</option>
		                <option value="FL">Florida</option>
		                <option value="GA">Georgia</option>
		                <option value="IA">Iowa</option>
		                <option value="ME">Maine</option>
		                <option value="MD">Maryland</option>
		                <option value="MA">Massachusetts</option>
		                <option value="MI">Michigan</option>
		                <option value="CO">Colorado</option>
		            </select>
		</div>
		<div style="margin-bottom:10px"> 
			备注信息：<input class="easyui-textbox" name="message" style="width:80%;height:60px" data-options="multiline:true">
		</div>
	</form>
	
	<form id="form" method="post">
		<table class="table-form">
			<tr>
				<th>菜单名称：</th>
				<td><input class="easyui-textbox" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true"></td>
				<th>菜单：</th>
				<td><input class="easyui-textbox" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true"></td>
			</tr>
			<tr>
				<th>菜单名称：</th>
				<td><input class="easyui-textbox" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true"></td>
				<th>菜单：</th>
				<td>
					<select class="easyui-combobox" name="state" style="width:180px;" data-options="required:true, panelMinHeight: 100, panelMaxHeight:200, editable: false, panelHeight:'auto', icons:[{iconCls:'icon-clear', handler: function(e){ $(e.data.target).combobox('clear'); }}]">
		                <option value="AL">Alabama</option>
		                <option value="AK">Alaska</option>
		                <option value="CT">Connecticut</option>
		                <option value="DE">Delaware</option>
		                <option value="FL">Florida</option>
		                <option value="GA">Georgia</option>
		                <option value="IA">Iowa</option>
		                <option value="ME">Maine</option>
		                <option value="MD">Maryland</option>
		                <option value="MA">Massachusetts</option>
		                <option value="MI">Michigan</option>
		                <option value="CO">Colorado</option>
		            </select>
				</td>
			</tr>
			<tr>
				<th>菜单名称：</th>
				<td><input class="easyui-textbox" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true"></td>
				<th>菜单：</th>
				<td><input class="easyui-textbox" name="name" style="width:180px" data-options="required:true,validateOnCreate:false,validateOnBlur:true"></td>
			</tr>
			<tr>
				<th>菜单名称：</th>
				<td colspan="3"><input class="easyui-textbox" name="message" style="width:100%;height:60px" data-options="multiline:true"></td>
			</tr>
		</table>
	</form>
</div>

<div class="submit-toolbar" id="footer"  style="border-bottom: 0;border-left: 0;border-right: 0;">
	<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="submitForm()" style="width:80px">提交</a>
	<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="MM.closeCurrentWindow()" style="width:80px">关闭</a>
</div>
